import request from '@/utils/request'

/**
 * 根据id查询上一篇下一篇
 */
export const queryPreAndNext = (id) => {
	return request({
		url: 'queryPreAndNext/' + id,
		method: 'get',
	})
}
/**
 * 根据id查询该文章的所属分类下面的5篇文章
 */
export const queryBrother = (id) => {
	return request({
		url: "/queryBrother/"+id,
		method: 'get',
	})
}
